libxl: add support for 'channels'
authorDavid Scott <dave.scott@citrix.com>
Thu, 9 Oct 2014 09:17:27 +0000 (10:17 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 20 Oct 2014 12:51:28 +0000 (13:51 +0100)
commit91418eecea197bf66e59ab50c85d82866acb15d8
tree6b10872b7bd1e5adf29fa44213847cb1a12eb45a
parent9991ecd77484f855a7bf90845f37e87f768c74f1
libxl: add support for 'channels'

A 'channel':
  - is a low-bandwidth private communication channel that resembles
    a physical serial port.
  - is implemented as a PV console with a well-known string name
    which is used to hook the channel to the appropriate software
    in the guest (i.e. some kind of guest agent).
  - has a backend 'connection' which describes what should happen
    to the data.

The following 'connection' types are defined:

 * PTY: the I/O surfaces as a pty in the backend domain
 * SOCKET: a listening Unix domain socket accepts a connection in
   the backend domain and proxies

Channels may be listed but don't currently support hotplug/unplug.

Signed-off-by: David Scott <dave.scott@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/misc/channel.txt [new file with mode: 0644]
docs/misc/console.txt
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl
tools/libxl/libxl_types_internal.idl